package com.kjc.demo.basic.controller;


import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.fastjson.JSONObject;

import lombok.extern.slf4j.Slf4j;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author whq
 * @since 2020-06-10
 */
@Slf4j
@RestController
@RequestMapping("/refund")
public class BillConsumeOilController {

    /**
     * @Description: 员工实时业绩查询
     * @Author:      kangjichang
     * @CreateDate:  2020/6/11 15:35
     */
    @PostMapping("/testNotify")
    public String queryEmployeeProfit(@RequestBody JSONObject jsonObject) throws Exception {
        log.info("【员工实时业绩查询】请求参数：{}", JSONObject.toJSONString(jsonObject, true));
     
        return jsonObject.toJSONString();
    }

}
